package com.spa.infrastructure.repository.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("s_coupon_exchange")
public class CouponExchangePO extends BasePO{

    @TableField(value = "source")
    private int source;

    @TableField(value = "code")
    private String code;

    @TableField(value = "username")
    private String username;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "service_name")
    private String serviceName;

    @TableField(value = "coupon_id")
    private Long couponId;

    @TableField(value = "create_time")
    private Date createTime;

    @TableField(value = "price")
    private int price;

    @TableField(value = "group_price")
    private int groupPrice;

    @TableField(value = "pay_time")
    private Date payTime;

    @TableField(value = "destroy_time")
    private Date destroyTime;

    @TableField(value = "verify_id")
    private String verifyId;

    @TableField(value = "certificate_id")
    private String certificateId;

}
